<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>分公司管理员登陆页面</title>
<script type="text/javascript" src="${pageContext.request.contextPath }/jquery/jquery-1.7.2.js"></script>
<script type="text/javascript">
	/* $(document).ready(function(){
		
		$.ajax(
				type:"post",
				uri:"/filiale/filialeLogn.action",
				success:function(obj){
					
					$("#date").each(function(){
						
						$(this).html(obj.name);
					});
				});
	}); */
</script>
</head>
<body background="${pageContext.request.contextPath }/images/t0124c5c0fe670d482d.jpg" style="background-repeat: repeat-y repeat-x;">
	<form action="${pageContext.request.contextPath }/filiale/filialeLogin.action" method="post">
		<table align="center" height="150" width="40%" style="margin-top: 200px;background-image:url('${pageContext.request.contextPath }/images/filiale.png'); ">
			<tr>
				<th>请选择公司名称：</th>
				<th>
					<select id="name" name="name">
					<s:iterator value="#request.list" var="i">
						<option style="width: 130px;" id="date">${i.name }</option>
					</s:iterator>
					</select>
				</th>
			</tr>
			<tr>
				<th>密  码：</th>
				<th><input type="password" name="password" id="password"></th>
			</tr>
			<tr>
				<th><input type="submit" value="登陆"></th>
				<th><input type="reset" value="取消"></th>
			</tr>
		</table>
	</form>
	<div align="center"><s:fielderror>${error }</s:fielderror></div>
</body>
</html>